// import { http } from '@/utils/request'
// import { User } from '@/types/user'
// // 密码登录
// export const loginByPassword = (mobile: string, password: string) =>
//     http<User>('/login/password', 'POST', { mobile, password })